<h1>My Documents</h1>
<p>Here are all of the documents that you have added to your Adobe SHARE library. Click on a thumbnail to view the file.</p>

<% for doc in @user.share.doc_nodes %>
<div align="center" class="<%= cycle('even','odd') %>">

<a href="/user/src?docid=<%= doc.node_id %>&mime=<%= doc.mimetype%>" alt="<%= doc.name %>"><img src="/user/thumb?docid=<%= doc.node_id %>" alt="<%= doc.name %>"></a>

<br/><%= doc.name %>
[<a href="mailto:?subject=<%=@user.share.user_full_name%> has shared a file with you!&body=Please click on the link to view the document: http://web.sharepdf.com/user/share/<%= doc.name%>?docid=<%= doc.node_id %>&amp;mime=<%= doc.mimetype%>">Share</a>]
</div>
<% end %>